import { createRouter, createWebHistory } from "vue-router";
const routes = [
  {
    path: "/",
    name: "Home",
    redirect: "/game"
  },
  {
    path: "/game",
    name: "Game",
    component: () => import(/* webpackChunkName: "Game" */ "../views/Game.vue")
  }
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
});

export default router;
